package no19.enum1;

import java.util.Random;
/**
 * 随机数生成器 Random测试
 * @author gao
 *
 */
public class RandomTest {
	public static void main(String[] args) {
		Random r1 = new Random(25);
		Random r2 = new Random(25);
		System.out.println("r1 next1:"+r1.nextInt());
		System.out.println("r2 next1:"+r2.nextInt());
		
		System.out.println("r1 next2:"+r1.nextInt());
		System.out.println("r2 next2:"+r2.nextInt());
	}
}
